﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sis.Entities;

namespace Sis.Repository
{
    public class IslaVentaRepository : MasterRepository, IIslaVentaRepository
    {
        public List<IslaVenta> GetAllFromRepository()
        {
            var query = from p in Context.IslaVentas
                select p;
            return query.ToList();
        }


        public IslaVenta IslaVentaById(int id)
        {
            return Context.IslaVentas.Find(id);
        }
    }
}
